//
//  PhotoMapView.h
//  XPhoto
//
//  Created by baboy on 2019/7/15.
//  Copyright © 2019 baboy. All rights reserved.
//

#import "BKView.h"
#import <CoreLocation/CoreLocation.h>
#import <MapKit/MapKit.h>
#import "Post.h"

NS_ASSUME_NONNULL_BEGIN
@protocol PhotoMapViewDelegate;

@interface PhotoMapView : BKView
@property(nonatomic, strong) IBOutlet MKMapView *mapView;
@property(nonatomic, strong) NSMutableArray *items;
@property(nonatomic, assign) IBOutlet id<PhotoMapViewDelegate> delegate;
@end

@protocol PhotoMapViewDelegate <NSObject>

@optional
- (void)photoMapView:(id)cell didPhotoRecordTapped:(Post*)post;

@end
NS_ASSUME_NONNULL_END
